package www.yingdi365.com.model;

import java.io.Serializable;
import java.util.List;

public class AppInvitationTmplData implements Serializable {
    private List<PagesBean> pages;
    private List<?> animates;
    private List<?> leaves;

    public List<PagesBean> getPages() {
        return pages;
    }

    public void setPages(List<PagesBean> pages) {
        this.pages = pages;
    }

    public List<?> getAnimates() {
        return animates;
    }

    public void setAnimates(List<?> animates) {
        this.animates = animates;
    }

    public List<?> getLeaves() {
        return leaves;
    }

    public void setLeaves(List<?> leaves) {
        this.leaves = leaves;
    }

    public static class PagesBean implements Serializable {
        /**
         * name : page01
         * preview : http://img.yingdi365.com/mk/admin/invitation/201706010008/preview1.jpg
         * bgImage : http://img.yingdi365.com/mk/admin/invitation/201706010008/b10.png
         * bgColor : #BA0C0E
         * bgResponse : false
         * items : [{"type":"picture","diy":false,"animate":{"name":null,"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b11","text":{"tag":null,"content":null,"x":null,"xDirection":null,"y":null,"yDirection":null,"fontSize":null,"width":null,"height":null},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010008/b11.png","x":143,"y":30,"width":350,"height":460,"vx":143,"vy":30,"vwidth":350,"vheight":460}},{"type":"picture","diy":false,"animate":{"name":null,"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b12","text":{"tag":null,"content":null,"x":null,"xDirection":null,"y":null,"yDirection":null,"fontSize":null,"width":null,"height":null},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010008/b12.png","x":418,"y":255,"width":222,"height":122,"vx":418,"vy":255,"vwidth":222,"vheight":122}},{"type":"picture","diy":false,"animate":{"name":null,"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b13","text":{"tag":null,"content":null,"x":null,"xDirection":null,"y":null,"yDirection":null,"fontSize":null,"width":null,"height":null},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010008/b13.png","x":124,"y":561,"width":391,"height":60,"vx":124,"vy":561,"vwidth":391,"vheight":60}},{"type":"picture","diy":false,"animate":{"name":null,"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"b14","text":{"tag":null,"content":null,"x":null,"xDirection":null,"y":null,"yDirection":null,"fontSize":null,"width":null,"height":null},"picture":{"url":"http://img.yingdi365.com/mk/admin/invitation/201706010008/b14.png","x":0,"y":718,"width":157,"height":137,"vx":0,"vy":718,"vwidth":157,"vheight":137}},{"type":"text","diy":true,"animate":{"name":null,"effect":"fadeInLeft","delay":"0s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"boy","text":{"tag":"boy","content":"上官志明","x":123,"xDirection":"right","y":688,"yDirection":"top","fontSize":"30","width":172,"height":30},"picture":{"url":null,"x":null,"y":null,"width":null,"height":null,"vx":null,"vy":null,"vwidth":null,"vheight":null}},{"type":"text","diy":true,"animate":{"name":null,"effect":"fadeInDown","delay":"0s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"girl","text":{"tag":"girl","content":"欧阳春娇","x":346,"xDirection":"left","y":688,"yDirection":"top","fontSize":"30","width":172,"height":30},"picture":{"url":null,"x":null,"y":null,"width":null,"height":null,"vx":null,"vy":null,"vwidth":null,"vheight":null}},{"type":"text","diy":true,"animate":{"name":null,"effect":"fadeInDown","delay":"0s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"treatDate","text":{"tag":"treatDate","content":"2017年12月28日 18:00","x":107,"xDirection":"center","y":754,"yDirection":"top","fontSize":"21","width":424,"height":21},"picture":{"url":null,"x":null,"y":null,"width":null,"height":null,"vx":null,"vy":null,"vwidth":null,"vheight":null}},{"type":"text","diy":true,"animate":{"name":null,"effect":"fadeInDown","delay":"0s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"lunar","text":{"tag":"lunar","content":"农历：五月廿六","x":107,"xDirection":"center","y":790,"yDirection":"top","fontSize":"21","width":424,"height":21},"picture":{"url":null,"x":null,"y":null,"width":null,"height":null,"vx":null,"vy":null,"vwidth":null,"vheight":null}},{"type":"text","diy":true,"animate":{"name":null,"effect":"fadeInDown","delay":"0s","loop":"1","duration":"1.0s","timingFunction":"linear"},"id":"hotel","text":{"tag":"hotel","content":"厦门市湖里区香格里拉酒店","x":89,"xDirection":"center","y":826,"yDirection":"top","fontSize":"21","width":431,"height":21},"picture":{"url":null,"x":null,"y":null,"width":null,"height":null,"vx":null,"vy":null,"vwidth":null,"vheight":null}}]
         */

        private String name;
        private String preview;
        private String bgImage;
        private String bgColor;
        private boolean bgResponse;
        private List<ItemsBean> items;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPreview() {
            return preview;
        }

        public void setPreview(String preview) {
            this.preview = preview;
        }

        public String getBgImage() {
            return bgImage;
        }

        public void setBgImage(String bgImage) {
            this.bgImage = bgImage;
        }

        public String getBgColor() {
            return bgColor;
        }

        public void setBgColor(String bgColor) {
            this.bgColor = bgColor;
        }

        public boolean isBgResponse() {
            return bgResponse;
        }

        public void setBgResponse(boolean bgResponse) {
            this.bgResponse = bgResponse;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public static class ItemsBean implements Serializable {
            /**
             * type : picture
             * diy : false
             * animate : {"name":null,"effect":"fadeInDown","delay":"0.5s","loop":"1","duration":"1.0s","timingFunction":"linear"}
             * id : b11
             * text : {"tag":null,"content":null,"x":null,"xDirection":null,"y":null,"yDirection":null,"fontSize":null,"width":null,"height":null}
             * picture : {"url":"http://img.yingdi365.com/mk/admin/invitation/201706010008/b11.png","x":143,"y":30,"width":350,"height":460,"vx":143,"vy":30,"vwidth":350,"vheight":460}
             */

            private String type;
            private boolean diy;
            private AnimateBean animate;
            private String id;
            private TextBean text;
            private PictureBean picture;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public boolean isDiy() {
                return diy;
            }

            public void setDiy(boolean diy) {
                this.diy = diy;
            }

            public AnimateBean getAnimate() {
                return animate;
            }

            public void setAnimate(AnimateBean animate) {
                this.animate = animate;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public TextBean getText() {
                return text;
            }

            public void setText(TextBean text) {
                this.text = text;
            }

            public PictureBean getPicture() {
                return picture;
            }

            public void setPicture(PictureBean picture) {
                this.picture = picture;
            }

            public static class AnimateBean implements Serializable {
                /**
                 * name : null
                 * effect : fadeInDown
                 * delay : 0.5s
                 * loop : 1
                 * duration : 1.0s
                 * timingFunction : linear
                 */

                private Object name;
                private String effect;
                private String delay;
                private String loop;
                private String duration;
                private String timingFunction;

                public Object getName() {
                    return name;
                }

                public void setName(Object name) {
                    this.name = name;
                }

                public String getEffect() {
                    return effect;
                }

                public void setEffect(String effect) {
                    this.effect = effect;
                }

                public String getDelay() {
                    return delay;
                }

                public void setDelay(String delay) {
                    this.delay = delay;
                }

                public String getLoop() {
                    return loop;
                }

                public void setLoop(String loop) {
                    this.loop = loop;
                }

                public String getDuration() {
                    return duration;
                }

                public void setDuration(String duration) {
                    this.duration = duration;
                }

                public String getTimingFunction() {
                    return timingFunction;
                }

                public void setTimingFunction(String timingFunction) {
                    this.timingFunction = timingFunction;
                }
            }

            public static class TextBean implements Serializable {
                /**
                 * tag : null
                 * content : null
                 * x : null
                 * xDirection : null
                 * y : null
                 * yDirection : null
                 * fontSize : null
                 * width : null
                 * height : null
                 */

                private Object tag;
                private Object content;
                private Object x;
                private Object xDirection;
                private Object y;
                private Object yDirection;
                private Object fontSize;
                private Object width;
                private Object height;

                public Object getTag() {
                    return tag;
                }

                public void setTag(Object tag) {
                    this.tag = tag;
                }

                public Object getContent() {
                    return content;
                }

                public void setContent(Object content) {
                    this.content = content;
                }

                public Object getX() {
                    return x;
                }

                public void setX(Object x) {
                    this.x = x;
                }

                public Object getXDirection() {
                    return xDirection;
                }

                public void setXDirection(Object xDirection) {
                    this.xDirection = xDirection;
                }

                public Object getY() {
                    return y;
                }

                public void setY(Object y) {
                    this.y = y;
                }

                public Object getYDirection() {
                    return yDirection;
                }

                public void setYDirection(Object yDirection) {
                    this.yDirection = yDirection;
                }

                public Object getFontSize() {
                    return fontSize;
                }

                public void setFontSize(Object fontSize) {
                    this.fontSize = fontSize;
                }

                public Object getWidth() {
                    return width;
                }

                public void setWidth(Object width) {
                    this.width = width;
                }

                public Object getHeight() {
                    return height;
                }

                public void setHeight(Object height) {
                    this.height = height;
                }
            }

            public static class PictureBean implements Serializable {
                /**
                 * url : http://img.yingdi365.com/mk/admin/invitation/201706010008/b11.png
                 * x : 143
                 * y : 30
                 * width : 350
                 * height : 460
                 * vx : 143
                 * vy : 30
                 * vwidth : 350
                 * vheight : 460
                 */

                private String url;
                private int x;
                private int y;
                private int width;
                private int height;
                private int vx;
                private int vy;
                private int vwidth;
                private int vheight;

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public int getX() {
                    return x;
                }

                public void setX(int x) {
                    this.x = x;
                }

                public int getY() {
                    return y;
                }

                public void setY(int y) {
                    this.y = y;
                }

                public int getWidth() {
                    return width;
                }

                public void setWidth(int width) {
                    this.width = width;
                }

                public int getHeight() {
                    return height;
                }

                public void setHeight(int height) {
                    this.height = height;
                }

                public int getVx() {
                    return vx;
                }

                public void setVx(int vx) {
                    this.vx = vx;
                }

                public int getVy() {
                    return vy;
                }

                public void setVy(int vy) {
                    this.vy = vy;
                }

                public int getVwidth() {
                    return vwidth;
                }

                public void setVwidth(int vwidth) {
                    this.vwidth = vwidth;
                }

                public int getVheight() {
                    return vheight;
                }

                public void setVheight(int vheight) {
                    this.vheight = vheight;
                }
            }
        }
    }
}